package com.leyu.mall.service.goods;


import java.util.List;

import com.leyu.mall.domain.goods.GoodsBase;

public interface IGoodsBaseService {

	public List<GoodsBase> getAllGoodsBase() throws Exception;

	public GoodsBase getGoodsBaseById(Long id) throws Exception;

	public void deleteGoodsBase(Long id) throws Exception;
	
	public int save(GoodsBase entity) throws Exception;
	 List<GoodsBase> getGoodsListByPage(GoodsBase pagebean) throws Exception ;
	 public int getGoodsListByPageCount()throws Exception ;
	 public List<GoodsBase> getContractGoodsList() throws Exception;
	 /**
		 * 获取新品
		 * @return
		 * @throws Exception
		 */
		public List<GoodsBase> getNewGoodsList() throws Exception;
		public List<GoodsBase> getHotGoodsList() throws Exception;
		public List<GoodsBase> getPromotionGoodsList() throws Exception;
		public List<GoodsBase> getGroupGoodsList() throws Exception;
}
